package com.kdd.campus.sh.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:shenkunlin
 * @Description:User构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "LoginUserDto",value = "LoginUserDto")
@Data
@Builder
public class LoginUserDto implements Serializable{
	@NotNull
	@ApiModelProperty(value = "昵称")
	private String nickname;//昵称

	@ApiModelProperty(value = "电话号码")
	private String phone;//电话号码

	@ApiModelProperty(value = "微信的code")
	@NotNull
	private String code;//微信的code

	@ApiModelProperty(value = "头像")
	@NotNull
	private String avatarUrl;//头像

	@ApiModelProperty(value = "性别")
	private Integer gender;//性别
}
